package cn.iocoder.yudao.module.book.controller.admin.classes.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 班级新增/修改 Request VO")
@Data
public class ClassesSaveReqVO {

    @Schema(description = "班级id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3844")
    private Integer classesId;

    @Schema(description = "班级名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "班级名称不能为空")
    private String cname;

    @Schema(description = "老师id", requiredMode = Schema.RequiredMode.REQUIRED, example = "5349")
    @NotNull(message = "老师id不能为空")
    private Integer userId;

    @Schema(description = "班级指令", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "班级指令不能为空")
    private Integer command;

}